<HTML><HEAD><TITLE>fzn_var_lookup(+FznState, +Id, -Value)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(flatzinc)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>fzn_var_lookup(+FznState, +Id, -Value)</H1>
Find ECLiPSe term corresponding to Mini/FlatZinc identifier
<DL>
<DT><EM>FznState</EM></DT>
<DD>a FlatZinc state descriptor
</DD>
<DT><EM>Id</EM></DT>
<DD>Mini/FlatZinc identifier (atom)
</DD>
<DT><EM>Value</EM></DT>
<DD>Output: ECLiPSe constant, array or domain variable
</DD>
</DL>
<H2>Description</H2>
<P>
	Assuming a model has previously been loaded successfully
	using fzn_load_xxx or mzn_load_xxx, this primitive provides
	the mapping from Mini/FlatZinc identifier to the ECLiPSe
	term that it is mapped to.
    </P>
<H3>Modes and Determinism</H3><UL>
<LI>fzn_var_lookup(+, +, -) is semidet
</UL>
<H3>Fail Conditions</H3>
Fails if there is no such identifier
<H2>See Also</H2>
<A HREF="../../lib_public/flatzinc/fzn_load_stream-2.html">fzn_load_stream / 2</A>, <A HREF="../../lib_public/flatzinc/fzn_obj_lookup-2.html">fzn_obj_lookup / 2</A>, <A HREF="../../lib_public/minizinc/index.html">library(minizinc)</A>
</BODY></HTML>
